package cn.aj.basic.tdo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class EmailCodeDto {
    @NotBlank(message = "邮箱号码不能为空!")
    private String email;
    @NotBlank(message = "邮箱验证码不能为空!")
    private String emailCodeValue;
    @NotBlank(message = "邮箱验证码的key不能为空!")
    private String emailCodeKey;
}
